package com.ruoyi.ade.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.ade.mapper.AdeCaseMapper;
import com.ruoyi.ade.domain.AdeCase;
import com.ruoyi.ade.service.IAdeCaseService;

/**
 * Ade CasesService业务层处理
 * 
 * @author wxh
 * @date 2025-06-16
 */
@Service
public class AdeCaseServiceImpl implements IAdeCaseService 
{
    @Autowired
    private AdeCaseMapper adeCaseMapper;

    /**
     * 查询Ade Cases
     * 
     * @param id Ade Cases主键
     * @return Ade Cases
     */
    @Override
    public AdeCase selectAdeCaseById(Long id)
    {
        return adeCaseMapper.selectAdeCaseById(id);
    }

    /**
     * 查询Ade Cases列表
     * 
     * @param adeCase Ade Cases
     * @return Ade Cases
     */
    @Override
    public List<AdeCase> selectAdeCaseList(AdeCase adeCase)
    {
        return adeCaseMapper.selectAdeCaseList(adeCase);
    }

    /**
     * 新增Ade Cases
     * 
     * @param adeCase Ade Cases
     * @return 结果
     */
    @Override
    public int insertAdeCase(AdeCase adeCase)
    {
        return adeCaseMapper.insertAdeCase(adeCase);
    }

    /**
     * 修改Ade Cases
     * 
     * @param adeCase Ade Cases
     * @return 结果
     */
    @Override
    public int updateAdeCase(AdeCase adeCase)
    {
        return adeCaseMapper.updateAdeCase(adeCase);
    }

    /**
     * 批量删除Ade Cases
     * 
     * @param ids 需要删除的Ade Cases主键
     * @return 结果
     */
    @Override
    public int deleteAdeCaseByIds(Long[] ids)
    {
        return adeCaseMapper.deleteAdeCaseByIds(ids);
    }

    /**
     * 删除Ade Cases信息
     * 
     * @param id Ade Cases主键
     * @return 结果
     */
    @Override
    public int deleteAdeCaseById(Long id)
    {
        return adeCaseMapper.deleteAdeCaseById(id);
    }
}
